/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.sync.service;


import com.jims.master.common.service.CrudService;
import com.jims.master.modules.sync.dao.PatVisitDao;
import com.jims.master.modules.sync.entity.PatVisit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 住院记录Service
 * @author xueyx
 * @version 2017-11-16
 */
@Service
@Transactional(readOnly = true)
public class PatVisitService extends CrudService<PatVisitDao, PatVisit> {

    @Transactional(readOnly = false)
    public int updatePublic(String state,String id) {
        return dao.updatePublic(state,id);
    }
}